package com.henu.acmrating.dao;

import com.henu.acmrating.pojo.ChildComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChildCommentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChildComment record);

    int insertOrUpdate(ChildComment record);

    int insertOrUpdateSelective(ChildComment record);

    int insertSelective(ChildComment record);

    ChildComment selectByPrimaryKey(Integer id);

    List<ChildComment> selectByCommentId(@Param("commentId") Integer commentId);

    int updateByPrimaryKeySelective(ChildComment record);

    int updateByPrimaryKey(ChildComment record);

    int updateBatch(List<ChildComment> list);

    int batchInsert(@Param("list") List<ChildComment> list);
}